/*清浮动*/
.clearfix:after{
	display: block;
	height: 0;
	content: "";
	clear: both;
}
/*隐藏元素*/
.ui-hidden{
	visibility: hidden;
}
/*文本超出长度以...显示*/
.ui-ellipsis {
	overflow:hidden;
	text-overflow:ellipsis;
	-o-text-overflow:ellipsis;
	white-space:nowrap;
}
.ui-nowrap-multi {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
/*浮动*/
.fl{
	float: left
}
.fr{
	float: right
}

/*上下边框*/
.bd-top{
	border-top: 1px solid #e0e0e0;
}
.bd-bottom{
	border-bottom: 1px solid #e0e0e0;
}
.mgT3{
	margin-top: .03rem;
}
.mgT9{
	margin-top: .09rem;
}
.mgB10{
	margin-bottom: .1rem;
}
.mgR8{
	margin-right: .08rem;
}
.mgL20{
	margin-left: .2rem;
}
.mgL15{
	margin-left: .15rem;
}
.tc{
	text-align: center
}
.line40h40{
    line-height: .4rem;
    height: .4rem;
}
.line50h50{
    line-height: .5rem;
    height: .5rem;
}

/*背景图为icons1*/
.icons1{
	display: inline-block;
    vertical-align: middle;
	background-image: url(../imgs/icons1.png);
	background-repeat: no-repeat;
	background-size: 3.35rem auto;
}
/*背景图为icons2*/
.icons2{
	display: inline-block;
    vertical-align: middle;
	background-image: url(../imgs/icons2.png);
	background-repeat: no-repeat;
	background-size: 3.75rem auto;
}
/*背景图为icons4*/
.icons4{
	display: inline-block;
    vertical-align: middle;
	background-image: url(../imgs/icons4.png);
	background-repeat: no-repeat;
	background-size: 3.75rem auto;
}

/*背景图为lyf-icons*/
.lyf-icons {
    display: inline-block;
    vertical-align: middle;
    background-image: url(http://m.static.laiyifen.com/images/lyf-icons.png?v=1501500776374);
    background-repeat: no-repeat;
    background-size: 3.75rem auto;
}
.icons1-search{
    width: .16rem;
    height: .16rem;
    background-position: -1.06rem -1.41rem;
}
.icons1-add{
	width: .28rem;
	height: .31rem;
	background-position: -2.32rem -3.55rem;
}
.icons1-sub-disabled{
	width: .28rem;
	height: .28rem;
	background-position: -2.05rem -3.27rem;
}
.icons1-sub{
	width: .28rem;
	height: .31rem;
	background-position: -2.05rem -3.55rem;
}
.lyf-msg-black{
    width: .2rem;
    height: .22rem;
    background-position: -1.2rem -4.39rem;
}
.lyf-arrow-black{
    width: .11rem;
    height: .06rem;
    background-position: -1.2rem -4.2rem;
}
.lyf-kefu{
		width: .2rem;
    height: .21rem;
    background-position: -1.1rem -2.52rem;
}
.lyf-collect{
		width: .2rem;
    height: .2rem;
    background-position: -.4rem -2.53rem;
}
.lyf-cart{
		width: .22rem;
    height: .19rem;
    background-position: -.72rem -2.52rem;
}
.icons-speaker{
  width: .15rem;
  height: .14rem;
  background-position: -1.4rem -3.6rem;
}
.icons2-arrow-r{
	width: .1rem;
	height: .15rem;
	background-position: -.36rem -2.48rem;
}
.icons4-location{
	width: .16rem;
	height: .16rem;
	background-position: -.3rem -2.52rem;
}
.lyf-star{
	width: .1rem;
	height: .1rem;
	background-position: 0 0;
}
.lyf-star-gray{
	width: .1rem;
	height: .1rem;
	background-position: 0 -.35rem;
}
.lyf-share{
    width: .24rem;
    height: .22rem;
    background-position: 0 -4.96rem;
}

/*字体加粗*/
.fb{
	font-weight: 700;
}
/*字体大小*/
.f12{
	font-size: .12rem;
}
.f14{
	font-size: .14rem;
}
.f16{
	font-size: .16rem;
}
.f18{
	font-size: .18rem;
}
.bgff6900{
	background-color: #ff6900;
}
/*字体颜色*/
.cff4444{
	color: #f44;
}
.cff6900{
	color: #ff6900;
}
.c3{
	color: #333!important;
}
.c6{
	color: #666!important;
}
.c7{
	color: #777!important;
}
.c9{
	color: #999!important;
}
.c808080{
	color: grey!important;
}
.main.hasHeader {
	padding-top: .45rem;
}
.footer{
  position: fixed;
  z-index: 100;
  bottom: 0;
  left: 0;
  right: 0;
  height: .49rem;
  display: flex;
  background-color: #fff;
	text-align: center;
}
.footer .lyf-cart{
	position: relative
}
 
.bubble{
  display: inline-block;
  min-width: .19rem;
  min-height: .19rem;
  line-height: .18rem;
  text-align: center;
  border-radius: 50%;
}
.bubble.cartnum{
  position: absolute;
  left: .15rem;
  top: -.05rem;
  color: #fff;
}
.ui-actionsheet{
    opacity: 0;
	z-index: 998;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
	height: 100%;
	pointer-events: none;
	background: rgba(0, 0, 0, .4)
}
.ui-actionsheet.show{
    opacity:1;
	pointer-events: inherit;
}